<div id="main_content">
	<h1>Projekt bearbeiten</h1>
	<form action="projects.php" method="post" id="project_form" class="edit_form">
		<span class="desc">Felder mit (*) m&uuml;ssen ausgef&uuml;llt werden.</span>
		<input type="hidden" name="action" value="edit" />
		<input type="hidden" name="id" value="{@pp:id}" />
		<pp:dynamic name="lID">
		<input type="hidden" name="lID" value="true" />
		</pp:dynamic>
		<p>
			<span class="label">Sichtbarkeit:</span>
			<span><img src="{@pp:core}{@pp:tpl_folder}/img/status/{@pp:status}.png" /> {@pp:status_text}</span>
		</p>
		<p>
			<label class="label" for="title">Titel: *</label>
			<input type="text" id="title" name="title" value="{@pp:title}" class="input"/>
		</p>
		<p>
			<label class="label" for="text">Text:</label>
			<textarea rows="10" cols="100" name="text" id="text" class="input">{@pp:text}</textarea>
		</p>
		<p>
			<span class="label">&nbsp;</span>
			<input type="submit" value="Speichern"/>
			<input type="reset" value="Zur&uuml;cksetzten"/>
		</p>
	</form>
</div>
<script type="text/javascript">
	$(document).ready(function() {
		$("#project_form").validate({
			rules: {
				title: "required"
			},
			messages: {
				title: "Bitte geben Sie einen Titel an."
			}	
		});
	});
</script>